/**
 * Created by hms on 2020-08-22.
 */
import request from '@/utils/request'

export function getTypeList(data){
    return request({
      url:'/typelist',
      method:'get',
      params:data
   });
}

export function editType(data){
    return request({
       url:'/edittype',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getTypeInfo(data){
    return request({
       url:'/typeinfo',
       method:'get',
       params:data
    });
}

export function delType(data){
    return request({
       url:'/deltype',
       method:'get',
       params:data
    });
}
